package com.bbs.service;

import com.bbs.entity.User;

import java.util.List;

public interface UserService {
    public User findById(int id);

    List<User> listUserByHot();

    List<User> listUserByTime();

    int register(User user);

    int update(String code);

    User checkPassword(User email);

    void updateUser(User user);

    //个人获赞数量
    void updatelikeCount(int uid);
}
